package com.infitecs.eyas.boiler.service;

import com.infitecs.eyas.boiler.model.AirGasParameter;
import com.infitecs.eyas.nature.model.Nature;
import com.infitecs.eyas.quality.model.Element;
import com.infitecs.eyas.quality.model.Industry;
import com.infitecs.eyas.util.Parameter;

import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 * User: chenkaiyu
 * Date: 15-5-24
 * Time: 下午5:45
 * To change this template use File | Settings | File Templates.
 */
public interface AirGasParameterService {
    void saveTheValueOfE31(double E31,int powerCaseId);

    void saveTheValueOfE32(double E32,int powerCaseId);

    void saveTheValueOfE33(double E33,int powerCaseId);

    void saveTheValueOfE34(double E34,int powerCaseId);

    void saveTheValueOfE35(double E35,int powerCaseId);

    void saveTheValueOfE42(double E42,int powerCaseId);

    void saveTheValueOfE43(double E43,int powerCaseId);

    void saveTheValueOfE44(double E44,int powerCaseId);

    void saveTheValueOfE45(double E45,int powerCaseId);

    void saveTheValueOfE46(double E46,int powerCaseId);

    void saveTheValueOfE111(int E111,int powerCaseId);

    void saveTheValueOfE50(double E50,int powerCaseId);

    void saveTheValueOfE28(double E28,int powerCaseId);

    AirGasParameter getAirGasParameter(int caseId);

    void insertCaseId(int caseId);

    Double calculateE36(int caseId,int powerId);

    Double calculateE37(int caseId,int powerId);

    Double calculateE38(int caseId,int powerId);

    Double calculateE39(int caseId,int powerId);

    Double calculateE40(int caseId,int powerId);

    Double calculateE41(int caseId,int powerId);

    Double calculateE61(int caseId,int powerId);

    Double calculateE63(int caseId,int powerId);

    void airGasSave(AirGasParameter airGasParameter);

    Double calculateE36(AirGasParameter air, Nature nature);

    Double calculateE37(AirGasParameter air, Nature nature);

    Double calculateE38(AirGasParameter air, Nature nature);

    Double calculateE39(AirGasParameter air, Nature nature);

    Double calculateE40(AirGasParameter air, Nature nature);

    double calculateE41(Set<Parameter> params);

    double calculateE47(Element element);

    double calculateE48(double e47);

    double calculateE49(AirGasParameter air, double e48);

    double calculateE53(Industry industry, Element element);

    double calculateE55(Element element);

    double calculateE56(Element element);

    double calculateE57(Nature nature, double e55);

    double calculateE58(Nature nature, double e57);

    double calculateE59(AirGasParameter air, double e58);

    double calculateE61(AirGasParameter air, Nature nature);

    double calculateE62(AirGasParameter air, double e60, double e61);

    double calculateE63(AirGasParameter air, Nature nature);

    double calculateE64(Element element);

    double calculateE65(Element element,double e55);

    double calculateE66(Industry industry, Nature nature, Element element, double e55);

    double calculateE67(double e64, double e65);

    double calculateE68(double e66, double e67);

    double calculateE69(AirGasParameter air, double e55, double e65);

    double calculateE70(AirGasParameter air, double e55);

    double calculateE71(AirGasParameter air, Nature nature, double e55, double e66);

    double calculateE72(double e64, double e69, double e70);

    double calculateE73(double e71, double e72);

    double calculateE74(Industry industry, Nature nature, Element element, AirGasParameter air, double e55);

    double calculateE75(AirGasParameter air, double e58, double e74);

    double calculateE76(AirGasParameter air, Industry industry, Nature nature, double e55, double e58, double e74);

    double calculateE60(double e58, double e76);

    double calculateE77(double e55, double e65, double e76);

    double calculateE78(double e55, double e76);

    double calculateE79(Nature nature, double e55, double e66, double e76);

    double calculateE80(double e64, double e77, double e78);

    double calculateE81(double e79, double e80);

    double calculateE82(Industry industry, Nature nature, double e55, double e76);

    double calculateE83(AirGasParameter air);

    double calculateE84(AirGasParameter air);

    double calculateE85(AirGasParameter air);

    double calculateE86(AirGasParameter air);

    double calculateE87(AirGasParameter air, double e64, double e77, double e78, double e79, double e83, double e84, double e85, double e86);

    double calculateE88(Element element, double e62, double e87);

    double calculateE51(Industry industry);

    double calculateE52(Industry industry, Element element,double e51);
}
